//package com.jackrain.clouddata.oms.lts;
//
//import com.github.ltsopensource.core.domain.Job;
//import com.github.ltsopensource.jobclient.JobClient;
//import com.github.ltsopensource.jobclient.domain.Response;
//import com.jackrain.nea.config.PropertiesConf;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import java.util.List;
//
///**
// * Created by nathan on 2016/9/8.
// */
//@Component
//public class JobClientReferenceBean {
//
//    @Autowired
//    private JobClient jobClient;
//
//
//    @Autowired
//    PropertiesConf pconf;
//
//
//    public JobClientReferenceBean() {
//    }
//
//    public void JobClientSubmit(List<Job> jobs) {
//        Response response = jobClient.submitJob(jobs);
//
//    }
//
//    public Response JobClientCancelJob(String taskId, String groupname) {
//        return jobClient.cancelJob(taskId, groupname);
//    }
//
//}
